package com.wangs.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "stock-service", path = "/stock",
        fallback = StockFeignServiceFallback.class)
public interface StockFeignService {
    @RequestMapping("/reduce2")
    public String reduce2();
}
